package com.iking.toolkit.util.ocr;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.awt.*;
import java.util.List;

/**
 * 功能描述:绘制图片区域参数
 *
 * @author: yfl
 * @date: 2024/8/8 15:42
 */
@Data
@Schema( description = "绘制图片区域参数")
public class DrawImageAreaModel {

    @Schema(description = "颜色")
    private Color color;

    @Schema(description = "区域")
    private List<Rectangle> rectangles;

    public DrawImageAreaModel() {
    }

    public DrawImageAreaModel( Color color, List<Rectangle> rectangles) {
        this.color = color;
        this.rectangles = rectangles;
    }
}
